<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Create A Decision Tree</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for createTree {qruleset}"><tr><td>createTree {qruleset}</td><td align="right">R Documentation</td></tr></table>
<h2>Create A Decision Tree</h2>


<h3>Description</h3>

<p>
Creates a decision tree from a given data set.
</p>


<h3>Usage</h3>

<pre>
createTree(x, cpv)
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>x</code></td>
<td>
a data frame with data.</td></tr>
<tr valign="top"><td><code>cpv</code></td>
<td>
complexity parameter value. Should be between 0 and 1.</td></tr>
</table>

<h3>Details</h3>

<p>
The function is a wrapper for <code>rpart</code> from the <code>rpart</code> package.
</p>



<hr><div align="center">[Package <em>qruleset</em> version 1.0 <a href="00Index.html">Index]</a></div>

</body></html>
